lista = ['x', 'y', 'z']
b = ' '
c = '\''
result = ''


import random


for i in range(random.randint(3, 7)):
    if random.randint(1, 2) == 1:
        result = result + random.choice(lista) + c + b
    else:
        result = result + random.choice(lista) + b


result = result[:-1]
print(result)
